<template>
  <div>
    1111
  </div>

</template>

<script>
export default {
  name:"Home",
  computed: {
    username() {
      console.log(this);
      // We will see what `params` is shortly
      return this.$route.params.username
    },
  },
  methods: {
    goToDashboard() {
      if (isAuthenticated) {
        this.$router.push('/dashboard')
      } else {
        this.$router.push('/login')
      }
    },
  },
}

</script>

<style scoped>

</style>
